package com.sftz.assets.entities.cret;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

@Data
@Table("cert_course_certificate")
public class CertCourseCertificateEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id(auto = true)
	private Integer id;

	@Column
	@Comment("用户id")
	private Integer userId;

	@Column
	@Comment("用户昵称")
	private String nickname;

	@Column
	@Comment("课程id")
	private Integer courseId;

	@Column
	@Comment("课程名称")
	private String courseName;

	@Column
	@Comment("证书编号")
	private String certificateNumber;

	@Column
	@Comment("签发时间")
	private Date issueTime;

	@Column
	@Comment("机构id")
	private Integer institutionId;

}